package com.hivekion.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnComment;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnType;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.hivekion.common.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 系统信息表 sys_version
 *
 * @author guoying
 */
@Table("sys_version")
@Data
@TableComment("系统信息表")
public class SysVersion extends BaseEntity {

    @TableField
    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 20)
    @ColumnComment("名称")
    private String name;

    @TableField
    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
    @ColumnComment("图标")
    private String icon;

    @TableField
    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 10)
    @ColumnComment("版本")
    private String version;

    @TableField
    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 10)
    @ColumnComment("版本编号")
    private String versionCode;

    @TableField
    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 20)
    @ColumnComment("制造商")
    private String manufacturer;

    @TableField
    @ColumnType(value = MySqlTypeConstant.TIMESTAMP)
    @ColumnComment("发版日期")
    private Date releaseTime;

}
